// -- 土建计量 变更计量
import request from '@/utils/request'


export function submit(data) {
  return request({
    url: 'buss/changemeasurement/submit',
    method: 'post',
    data
  })
}


export function resubmit(data) {
  return request({
    url: 'buss/changemeasurement/resubmit',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'buss/changemeasurement/delete',
    method: 'post',
    data: ids
  })
}


export function getOne(id) {
  return request.get('buss/changemeasurement/getOne?id='+id)
}


// 分页
export function getTablePage(data) {
  return request.post('buss/changemeasurement/paging', data)
}





export function audit(data) {
  return request({
    url: 'buss/changemeasurement/audit',
    method: 'post',
    data
  })
}


export function report(data) {
  return request({
    url: 'buss/changemeasurement/report',
    method: 'post',
    data
  })
}


export default {
  submit,
  getOne,
  resubmit,
  del,
  getTablePage,
  audit,
  report,

}
